package org.ehe;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 *
 * @author zhangnn
 */
@EnableScheduling
@SpringBootApplication(scanBasePackages = {"org.ehe", "org.eiahe"})
public class EiaheSystemApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(EiaheSystemApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);


        System.out.println("▗▄▄▄▖▗▄▄▄▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖");
        System.out.println("▐▌     █  ▐▌ ▐▌▐▌ ▐▌▐▌   ");
        System.out.println("▐▛▀▀▘  █  ▐▛▀▜▌▐▛▀▜▌▐▛▀▀▘");
        System.out.println("▐▙▄▄▖▗▄█▄▖▐▌ ▐▌▐▌ ▐▌▐▙▄▄▖");
        System.out.println("(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ");
    }

}
